﻿@model PlainData

@{
    ViewData["Title"] = "Home Page";
}
<div class="row">
    <div class="col-6 offset-3">
        <div class="card">
            <div class="card-body">
                <form class="mb-2" asp-action="Index">
                    <div class="form-group">
                        <label asp-for="RealName"></label>
                        <input asp-for="RealName" class="form-control">
                        <span asp-validation-for="RealName" class="text-danger"></span>
                    </div>
                    <div class="form-group">
                        <label asp-for="IdCard"></label>
                        <input asp-for="IdCard" class="form-control">
                        <span asp-validation-for="IdCard" class="text-danger"></span>
                    </div>
                    <div class="form-group">
                        <span id="result"></span>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

@section Scripts {
    @{
        await Html.RenderPartialAsync("_ValidationScriptsPartial");

        <script>

        </script>
    }
}